package com.example.take_out_admin_api;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @Description:none
 * @Author:yyyyys、
 * @Date:2024/7/7 18:25
 * @Version:1.0
 **/
@FeignClient(name = "take-out-admin",
        contextId = "take-out-admin"
)
@Component
public interface AdminClient {
    @GetMapping("/employeeApi/{token}")
    boolean vaildateToken(@PathVariable("token") String token);
}
